package example 
{
	import flash.display.Sprite;

	import com.sshc625.ds.Queue;
	import com.sshc625.ds.ArrayQueue;
	/**
	 * @author sshc625
	 */
	public class ArrayQueue_Test extends Sprite
	{
		public function ArrayQueue_Test( )
		{
			var queue:Queue = new ArrayQueue();
			for(var i:uint=0; i<10; i++)
			{
				queue.enqueue( {name:("sshc625"+i), sex:1} );
			}
			var size:uint = queue.size();
			var isEmpty:Boolean = queue.isEmpty();
			var front:* = queue.getFront();
			front = queue.dequeue();
			queue.makeEmpty();		
		}
	}
}
